﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace iTeachSoft.Code.Utility
{
    public class AlertUtility
    {
        public static void ShowError(string errorMessage)
        {
            MessageBox.Show(errorMessage, "iTeachSoft says: ", MessageBoxButton.OK, MessageBoxImage.Error);
        }

        public static MessageBoxResult Confirm(string message)
        {
            return MessageBox.Show(message, "iTeachSoft says:", MessageBoxButton.YesNoCancel, MessageBoxImage.Question);
        }
    }
}
